/*
 * @Description:
 * @Author: wangqi
 * @Date: 2021-05-08 15:14:45
 * @LastEditTime: 2021-05-10 23:13:18
 */

const path = require('path');

module.exports = {
    entry: './src/index.js',
    output: {
        path: path.resolve(__dirname, 'dist'),
        filename: 'bundle.js',
    },
    devtool: "source-map",
    devServer: {
        port: 3001,
        compress: false,
        contentBase: path.resolve(__dirname, 'www'),
    }
}
